cnb\admin\api\CnbAppRemote B

Total Complexity 94
Dependencies 10
Dependents 34
Total lines 740
Lines of code 373
Logical lines of code 214
Comment lines 232
Methods 50
Properties 0

Methods 50

Method Rating Maintainability Complexity Lines of code
cnb_remote_handle_response()
S
51 7 25
cnb_remote_get_args()
S
53 6 23
cnb_remote_post()
S
58 3 15
cnb_remote_delete()
S
60 3 13
cnb_remote_patch()
S
60 3 13
cnb_remote_delete_apikey()
S
61 3 12
cnb_remote_delete_button()
S
62 3 11
cnb_remote_delete_domain()
S
62 3 11
cnb_remote_delete_condition()
S
62 3 11
cnb_remote_delete_action()
S
62 3 11
cnb_clean_site_url()
S
57 2 19
cnb_remote_get_button_for_condition()
S
66 3 8
cnb_remote_get_button_for_action()
S
66 3 8
cnb_remote_get()
S
60 2 13
cnb_remote_create_domain()
S
68 2 7
cnb_remote_update_button()
S
67 2 7
cnb_get_api_base()
S
74 2 4
cnb_remote_update_condition()
S
67 2 7
cnb_remote_update_wp_button()
S
70 2 6
cnb_remote_update_action()
S
67 2 7
cnb_remote_create_button()
S
68 2 7
cnb_remote_create_action()
S
68 2 7
cnb_remote_create_condition()
S
68 2 7
cnb_remote_update_domain()
S
67 2 7
cnb__get_transient_base()
S
69 2 7
cnb_remote_get_apikeys()
S
75 1 4
get_site_url()
S
81 1 3
cnb_remote_create_apikey()
S
75 1 4
cnb_remote_create_billing_portal()
S
76 1 4
cnb_remote_get_apikey_via_ott()
S
74 1 4
cnb_remote_get_action()
S
75 1 4
cnb_remote_get_condition()
S
75 1 4
cnb_remote_get_user_info()
S
75 1 4
cnb_get_user_base()
S
78 1 3
cnb_get_static_base()
S
78 1 3
cnb_incr_transient_base()
S
78 1 3
cnb_get_transient_base()
S
79 1 3
cnb_wp_request()
S
68 1 7
wp_remote_delete()
S
71 1 5
wp_remote_patch()
S
71 1 5
cnb_remote_update_user_info()
S
75 1 4
cnb_remote_get_conditions()
S
75 1 4
cnb_remote_get_wp_domain()
S
72 1 5
cnb_remote_get_domain()
S
75 1 4
cnb_remote_get_domains()
S
75 1 4
cnb_remote_get_button_full()
S
74 1 4
cnb_remote_get_buttons()
S
75 1 4
cnb_remote_get_buttons_full()
S
75 1 4
cnb_remote_get_actions()
S
75 1 4
cnb_remote_email_activation()
S
64 1 10